ShortPixel\Controller\AdminNoticesController D

Total Complexity 143
Dependencies 5
Dependents 5
Total lines 845
Lines of code 540
Logical lines of code 313
Comment lines 125
Methods 36
Properties 3

Methods 36

Method Rating Maintainability Complexity Lines of code
doAPINotices()
B
45 17 38
parse_readme_content()
B
44 16 46
doQuotaNotices()
A
43 14 44
doRemoteNotices()
A
48 10 33
displayNotices()
A
47 9 35
get_update_notice()
S
54 6 21
getQuotaExceededMessage()
S
43 4 51
get_remote_notices()
S
49 5 31
doCompatNotices()
S
57 5 17
getConflictMessage()
S
56 5 16
doIntegrationNotices()
S
58 4 14
parse_update_notice()
S
61 4 12
doFilePermNotice()
S
62 4 11
check_admin_notices()
S
60 3 15
doUnlistedNotices()
S
64 4 9
getMonthAvg()
S
65 4 7
pluginUpdateMessage()
S
61 3 11
__construct()
S
64 3 8
markdown2html()
S
59 2 15
upgradeBulkCallback()
S
76 2 4
doHelpOptInNotices()
S
64 2 10
getInstance()
S
73 2 5
monthlyUpgradeNeeded()
S
76 2 3
proposeUpgradePopup()
S
61 1 14
getHelpOptinMessage()
S
61 1 13
getMonthlyUpgradeMessage()
S
66 1 7
getBulkUpgradeMessage()
S
66 1 7
getUnlistedMessage()
S
64 1 9
bulkUpgradeNeeded()
S
73 1 4
reInstateQuotaExceeded()
S
80 1 3
resetIntegrationNotices()
S
80 1 3
resetQuotaNotices()
S
74 1 5
resetAPINotices()
S
74 1 5
resetCompatNotice()
S
80 1 3
resetAllNotices()
S
81 1 3
getActivationNotice()
S
66 1 8